WaveStop
(Method)
Purpose: Stops Playback of a Wave-file.
Syntax: CtlName.WaveStop
Arguments: None.
Example:
Private Sub
Command1_Click()
____'Play a
Wave-file
____SoundCard1.WavePlay
"C:\Windows\Media\The Microsoft Sound.wav"
End Sub
Private Sub
Command2_Click()
____'Turn
it off again
____SoundCard1.WaveStop
End Sub
Comments: The WavePlayComplete Event will not fire with WaveStop.
See Also:
WavePlay